package com.kitty.game.zhounianka.message;

import lombok.Data;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Table;

import java.util.Date;

@Data
@Table("annual_shop_item")
public class MiJingShiLianEntity {

    /**
     *   data.score = pkt:GetLong()
     *   data.count = pkt:GetChar()
     *   for i = 1, data.count do
     *     data[i] = {}
     *     data[i].index = pkt:GetChar()
     *     data[i].name = pkt:GetLenString()
     *     data[i].cost = pkt:GetLong()
     *     data[i].num = pkt:GetShort()
     *     data[i].bind = pkt:GetLong()
     *   end
     */
    @Comment("id")
    private int id;
    @Comment("name")
    private String name;
    @Comment("cost")
    private int cost;
    @Comment("num")
    private int num;
    @Comment("bing")
    private int bind;

    @Comment("add_time")
    private Date addTime;
}
